<script>
export default {
  mounted() {
    if (this.$store.state.user.role === 'editor')
      this.$router.replace('/personalCenter/summaryRecord')
    else this.$router.replace('/systemManage/dataAnalysis/allUserScore')
  },

  render: (h) => h()
}
</script>
